a = float(input('输入利润（单位：万元）：'))
if a <= 10:
    bonus = a*0.1
elif a <= 20:
    bonus = 10*0.1+(a-10)*0.075
elif a <=40:
    bonus = 10*0.1+10*0.075+(a-20)*0.05
elif a <= 60:
    bonus = 10*0.1+10*0.075+20*0.05+(a-40)*0.03
elif a <= 100:
    bonus = 10*0.1+10*0.075+20*0.05+20*0.03+(a-60)*0.015
else:
    bonus = 10*0.1+10*0.075+20*0.05+20*0.03+40*0.015+(a-100)*0.01
print("奖金为",bonus,"万元")